<!--
/**
 * Template registros
 * @author Erich Oliveira <ericholiveira@gmail.com>
 * @date 23/12/2011
 */
-->
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{BEGIN style_block}
<style>
#height100{$id} {padding:1px;}
#toplinks_caption{$id} {padding:0px 1px;font-size:12px;font-weight:bold;}
#mastertable_block{$id} {margin-left:50px;margin-top:2px}
#toplinks_block{$id} {width:100%;padding:0px;padding-left:30px}
#toplinks_block{$id} span {padding-left:1px;}
#search_records_block{$id} { padding-left:5px;}
#search_records_block{$id} > * {vertical-align:middle;}
#search_records_block{$id} select {margin:3px 0px;}
#login_block{$id} {padding:10px; margin-bottom:3px}
#login_block{$id} * {margin-left:5px; padding:5px 0px;}
#menu_block{$id} {padding:10px;}
#menu_block{$id} * {list-style-type:none;}
#menu_block{$id} IMG {vertical-align:middle;}
#record_controls{$id} {padding:10px 10px;text-align: left;}
#record_controls{$id} span{padding-left:10px;}
#recordcontrolsadd_block{$id} {padding:10px 10px;border: solid; border-width: 1px; border-color: #C0C0C0;text-align: right;}
#grid_block{$id} {border:solid 1px #C0C0C0;}
.listIcons img.listIcon{margin:0 3px;opacity:0.3;filter:alpha(opacity=30);}
.grid_recordheader {padding-top:5px;}
.grid_recordheader a {margin:0 5px;}
body {margin:20px;padding:10px;}
.bottomPanelBorder{
	/*margin-right: 10px;*/
	padding-bottom: 18px;
	border-left: 1px solid #C0C0C0;
	border-right: 1px solid #C0C0C0;
	border-bottom: 1px solid #C0C0C0;
}
#searchform{$id}{float: left;}
#searchPanelContainer{$id}{
	width: 200px;
	float: left;
	position:absolute;
}
.searchOptions {margin-top: -10px;}
/*report styles*/
table.report {border-collapse: collapse} 
table.report td {padding: 2px;border-width: 1px; border-style: solid; border-color: #cccccc;}
div.page_block{clear:left;}
td.group_1{background-color: ADD8E6;}
td.group_2{background-color: F2EFB1;}
td.group_3{background-color: FFFFE0;}
td.nbgroup_1{background-color: ADD8E6;border-style:none;}
td.nbgroup_2{background-color: F2EFB1;border-style:none;}
td.nbgroup_3{background-color: FFFFE0;border-style:none;}
td.header_1{background-color: 93B7C3;}
td.header_2{background-color: CDCB96;}
td.header_3{background-color: D8D8BE;}
td.pagesummary{background-color:#ffffbb;}
td.globalsummary{background-color:#ffe0b0;}
#export_links{$id} * {}
</style>
{END style_block}
{BEGIN iestyle_block}
<!--[if IE]>
<style>
.grid {height:100%;}
</style>
<![endif]-->
{END iestyle_block}
</head>
<body marginheight=0 marginwidth=0 {$bodyattrs}>
{BEGIN body}
{$header}
<div id="height100{$id}">

{BEGIN toplinks_block}
<div id="toplinks_block{$id}">
<h2><b>Acompanhamento&nbsp;de&nbsp;Indicadores</b></h2>





{BEGIN printall_link}
<!--<span>
<a target="_blank" href="rel_lista_indicadores_print.php?all=1" {$printallpictlink_attrs}>
<img alt=" " src="images/icone_imprimir.gif" border=0></a>&nbsp;
</span>-->
<input type="button" class="button" value="Imprimir" onClick="location.href='rel_lista_indicadores_print.php?all=1'" >
{END printall_link}





{BEGIN export_link}
<span id="export_links{$id}">
<!--<a href="rel_lista_indicadores_print.php?all=1&format=excel" {$excellink_attrs}><button <img alt="Expot to Excel" src="images/exportarexcel.gif" border="0"></a>-->
<input type="button" class="button" value="Exportar para Excel" onClick="location.href='rel_lista_indicadores_print.php?all=1&format=excel'" >

<!--<a href="rel_lista_indicadores_print.php?all=1&format=word" {$wordlink_attrs}><img alt="Exportar para Word" src="images/exportarword.gif" border="0" ></a>-->

<input type="button" class="button" value="Exportar para Word" onClick="location.href='rel_lista_indicadores_print.php?all=1&format=word'" >

</span>
{END export_link}
</div>
{END toplinks_block}

{BEGIN search_records_block} 
<div id="recordcontrolsadd_block{$id}" class="shade">
	<span id="search_records_block{$id}" class="shade">
		{BEGIN searchform}
		<!-- Search panel header for horizontal layouts -->
		<span id="searchform{$id}" align="absmiddle">
	<span id="searchPanelHeader{$id}">  
		{$simpleSearchFieldCombo}
		
		{$simpleSearchTypeCombo}
		
		{BEGIN searchform_text}
		<input type="text" {$searchfor_attrs} size="25">
		{END searchform_text}
		&nbsp;
		{BEGIN searchform_search}
			<span class=buttonborder><input type=button class="button" value="Buscar" {$searchbutton_attrs}></span> 
            
		{END searchform_search}
		&nbsp;
		{BEGIN searchform_showall}	
		<span id="showall{$id}" class="buttonborder" {$showAllCont_attrs}><input type="button" class="button" value="Mostrar Todos" {$showallbutton_attrs}></span>
		{END searchform_showall}
	</span>
	{BEGIN searchPanelTopButtons}
	<span>
		<!--&nbsp;
		<span class="buttonborder"><input class="button" type="button" id="showSrchWin{$id}" style="width: 18px; background-image: url(images/search/showWindowPin.gif);" {$showHideSearchWin_attrs} ></span>
        -->
		&nbsp;		
	<span class="buttonborder"><input class="button" type="button" id="showOptPanel{$id}" style="background-image: url(images/search/ArrowDown.png);" {$showHideSearchPanel_attrs} ></span>

	</span>
	{END searchPanelTopButtons}
</span> 
	{END searchform}

		{BEGIN details_block}
		<span  {$details_attrs}>Ítens Encontrados: <b>{$records_found}</b>&nbsp;&nbsp;&nbsp;&nbsp;</span>
	{END details_block}

	{BEGIN pages_block}
		<span {$pages_attrs}>Página <b>{$page}</b> de <b>{$maxpages}</b></span>
	{END pages_block}

		&nbsp;&nbsp;&nbsp;&nbsp;
	{BEGIN recordspp_block}	<!-- class="center_block" -->
			{$grpsPerPage}
	{END recordspp_block}
	</span>
</div>
{END search_records_block} 


<!-- search panel and window -->
<div id="searchPanelContainer{$id}" class="searchPanelContainer">
{$adv_search_panel}
</div>

<div moveForSearch="move{$id}" {$marginStyle}>

{BEGIN recordcontrols_block}
<div id="record_controls{$id}">    {BEGIN newrecord_controls}
    <span id="newrecord_controls{$id}">     {BEGIN add_link}
    <span class=buttonborder>
    <input type=button class="button" value="Adicionar Novo" {$addlink_attrs}>
    </span>
    {END add_link}

        {BEGIN inlineadd_link}
<span class=buttonborder>
<input type=button class="button" value="Adicionar Novo" {$inlineaddlink_attrs} >
</span>
{END inlineadd_link}
 </span>
    {END newrecord_controls}
{$lookupSearchControls}
{BEGIN record_controls}
<span id="record_controls{$id}2"> 
                {BEGIN editselected_link}
<span class=buttonborder {$editselectedlink_span}>
<input type=button class="button" value="Editar selecionado" {$editselectedlink_attrs}>
</span>
{END editselected_link}
{BEGIN saveall_link}
<span class=buttonborder {$savealllink_span}>
<input type=button class="button" value="Salvar todos" {$savealllink_attrs}>
</span>
{END saveall_link}
{BEGIN cancelall_link}
<span class=buttonborder {$cancelalllink_span}>
<input type=button class="button" value="Cancelar Edição" {$cancelalllink_attrs}>
</span>
{END cancelall_link}

        {BEGIN deleteselected_link}
<span class=buttonborder {$deleteselectedlink_span}>
<input type=button class="button" value="Elimina Selecionados" {$deleteselectedlink_attrs}>
</span>
{END deleteselected_link}

        
         </span>
{END record_controls}
</div>
{END recordcontrols_block}
<div class="message" id="usermessage{$id}">{$user_message}</div>

{BEGIN grid_block}
<div id="grid_block{$id}">
<TABLE class="report" WIDTH="100%" CELLPADDING=1 CELLSPACING=0 BORDER=0 style="border: solid; border-width: 1px; border-color: black;">
{BEGIN grid_row}
<!-------------------------------------  group headers2 ----------------------------------------->
{BEGIN id_ano_planejamento_newgroup}
<tr>
<td class=header_1 colspan=10>
Ano:&nbsp;
<font style="font-weight:900">{$id_ano_planejamento_grval}</font></td>
</tr>
{END id_ano_planejamento_newgroup}
{BEGIN no_pessoa_newgroup}
<tr>
<td class=group_1>&nbsp;</td>
<td class=header_2 colspan=9>
Unidade Organizacional:&nbsp;
<font style="font-weight:900">{$no_pessoa_grval}</font></td>
</tr>
{END no_pessoa_newgroup}
{BEGIN macroprocesso_newgroup}
<tr>
<td class=group_1>&nbsp;</td>
<td class=group_2>&nbsp;</td>
<td class=header_3 colspan=8>
Macroprocesso:&nbsp;
<font style="font-weight:900">{$macroprocesso_grval}</font></td>
</tr>
<tr>
<td class=group_1>&nbsp;</td>
<td class=group_2>&nbsp;</td>
<td class=group_3>&nbsp;</td>
<td align="center" class=blackshade>Nome Indicador</td>
<td align="center" class=blackshade>Unidade Medida</td>
<td align="center" class=blackshade>Tipo Indicador</td>
<td align="center" class=blackshade>Formula</td>
<td align="center" class=blackshade>Descricao Indicador</td>
<td align="center" class=blackshade>Situação</td>
<td align="center" class=blackshade>Tipo Grafico</td>
</tr>
{END macroprocesso_newgroup}
<!-------------------------------------  data ----------------------------------------->
{BEGIN row_data}
<tr>
			<td class=group_1>&nbsp;</td>
			<td class=group_2>&nbsp;</td>
			<td class=group_3>&nbsp;</td>
	<td class=data>{$nome_indicador_value}</td>
	<td class=data>{$unidade_medida_value}</td>
	<td class=data>{$tipo_indicador_value}</td>
	<td class=data>{$formula_value}</td>
	<td class=data>{$descricao_indicador_value}</td>
	<td class=data>{$situacao_value}</td>
	<td class=data>{$tipo_grafico_value}</td>
</tr>
{END row_data}
<!-------------------------------------  group summary ----------------------------------------->
{END grid_row}
</table>
</div>
{END grid_block}
{BEGIN pagination_block}
<div id="pagination_block{$id}">{$pagination}</div>
{END pagination_block}

</div>
</div>
{$footer}
{END body}
</body>
</html>